//
//  PYClothesCell.m
//  WaterFallStream
//
//  Created by zpy on 15/12/5.
//  Copyright © 2015年 zpy. All rights reserved.
//

#import "PYClothesCell.h"
#import <UIImageView+WebCache.h>
#import "PYClothes.h"
@interface PYClothesCell()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@end
@implementation PYClothesCell

-(void)setClothes:(PYClothes *)clothes{

    _clothes = clothes;
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:clothes.img] placeholderImage:[UIImage imageNamed:@"loading.png"]];
    
    self.priceLabel.text = clothes.price;
}
@end
